package com.project.demo.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 商家账单：(MerchantBilling)表实体类
 *
 */
@TableName("`merchant_billing`")
@Data
@EqualsAndHashCode(callSuper = false)
public class MerchantBilling implements Serializable {

    // MerchantBilling编号
    @TableId(value = "merchant_billing_id", type = IdType.AUTO)
    private Integer merchant_billing_id;

    // 商家用户
    @TableField(value = "`business_user`")
    private Integer business_user;
    // 商家姓名
    @TableField(value = "`merchant_name`")
    private String merchant_name;
    // 民宿名称
    @TableField(value = "`name_of_homestay`")
    private String name_of_homestay;
    // 记录月份
    @TableField(value = "`record_month`")
    private String record_month;
    // 收入金额
    @TableField(value = "`amount_of_income`")
    private Double amount_of_income;
    // 平台抽成
    @TableField(value = "`platform_drawing`")
    private Double platform_drawing;




















					


	// 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;

}
